/**
 * 
 */
package sk.stuba.fiit.foo07.genex.beans;

/**
 * @author Martin
 * 
 */
public class QuestionType {
    private String name;
    private String description;
    private Integer questionTypeID;

    public QuestionType() {
    }

    public QuestionType(String name, String description, Integer questionTypeID) {
        super();
        this.name = name;
        this.description = description;
        this.questionTypeID = questionTypeID;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *                the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description
     *                the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the questionTypeID
     */
    public Integer getQuestionTypeID() {
        return questionTypeID;
    }

    /**
     * @param questionTypeID
     *                the questionTypeID to set
     */
    public void setQuestionTypeID(Integer questionTypeID) {
        this.questionTypeID = questionTypeID;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return this.name;
    }
}
